package lambda.function;

import java.util.Date;
import java.util.function.Supplier;

public class SupplierTest {

    public static void main(String[] args) {
        Supplier<Date> supplier = ()-> new Date();
        System.out.println(supplier.get());
    }
}
